package com.xujie.order.infra.service;

import com.xujie.order.infra.entity.SiteOrder;

import java.util.List;

public interface OrderService {
    SiteOrder getOrderByEntity(SiteOrder order);

    List<SiteOrder> getOrderListByEntity(SiteOrder order);

    void insertOrder(SiteOrder order);

    void updateOrder(String openNo, SiteOrder order);

    void updateOrderPaidBatch(List<String> list);

    SiteOrder getOrderByTradeNo(String appid, Long tradeNo);
}
